package com.koocloud.electroplatemanage.controller;
import com.koocloud.electroplatemanage.common.pojo.ResponseTemplate;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
import java.io.IOException;


@RestController
public class TestController {
    @RequestMapping(value = "test", method = RequestMethod.POST, name = "测试")
    public ResponseTemplate testStr(String str) throws IOException {

           // 获取key对应的value值
          //str = ConfigurarionUtil.getConfigData(key);
          //ConfigurarionUtil.setConfigData(key,value);
          return ResponseTemplate.builder().code(0).message("无数据").count(0l).data("").build();
    }
}
